package com.alks.function.data.request.prod;

import com.alks.entity.data.page.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * @author:xxxxx
 * @create: 2023-07-04 14:17
 * @Description: 生产动态入参
 */
@Getter
@Setter
@NoArgsConstructor
public class ProdDynamicRequest extends PageParam {
    @ApiModelProperty("指令")
    private String orderId;
    @ApiModelProperty("货号")
    private String style;
    @ApiModelProperty("季度")
    private String season;
    @ApiModelProperty("品牌")
    private String brand;
    @ApiModelProperty("样品类型")
    private String sample;
    @ApiModelProperty("下单日期开始")
    private Date orderStartDate;
    @ApiModelProperty("下单日期结束")
    private Date orderEndDate;
    @ApiModelProperty("指令交期开始")
    private Date deliveryStartDate;
    @ApiModelProperty("指令交期结束")
    private Date deliveryEndDate;

    @Override
    public String toString() {
        return "ProdDynamicRequest{" +
                "orderId='" + orderId + '\'' +
                ", style='" + style + '\'' +
                ", season='" + season + '\'' +
                ", brand='" + brand + '\'' +
                ", sample='" + sample + '\'' +
                ", orderStartDate=" + orderStartDate +
                ", orderEndDate=" + orderEndDate +
                ", deliveryStartDate=" + deliveryStartDate +
                ", deliveryEndDate=" + deliveryEndDate + getPageSize() +getPageSize()+
                '}';
    }
}
